package com.shanzmoo.db.sys.mapper;

import com.shanzmoo.db.sys.entity.RoleMenuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Gzhao
 * @since 2020-11-16
 */
public interface RoleMenuMapper extends BaseMapper<RoleMenuEntity> {

    void deleteByRoleId(@Param("roleId") Integer roleId);

    void insertBatch(@Param("list") List<RoleMenuEntity> roleMenuEntityList);
}
